//package com.itheima.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//
//@Configuration
//public class SpringMvcSupport extends WebMvcConfigurationSupport {
//    @Override
//    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("/pages/**")
//                .addResourceLocations("/pages/");
//        registry.addResourceHandler("/element-ui/**")
//                .addResourceLocations("/element-ui/");
//        registry.addResourceHandler("/js/**")
//                .addResourceLocations("/js/");
//        registry.addResourceHandler("/resources/**")
//                .addResourceLocations("/resources/");
//    }
//}